
.tk-avatar {
    flex-shrink: 0;
    height: 2.5rem;
    width: 2.5rem;
    overflow: hidden;
    text-align: center;
    border-radius: 5px;
}

.tk-replies .tk-avatar {
    height: 1.6rem;
    width: 1.6rem;
}

.tk-avatar.tk-has-avatar {
    background-color: rgba(144, 147, 153, 0.13);
}

.tk-avatar.tk-clickable {
    cursor: pointer;
}

.tk-avatar .tk-avatar-img {
    height: 2.5rem;
}

.tk-replies .tk-avatar .tk-avatar-img {
    height: 1.6rem;
}

.tk-avatar .tk-avatar-imgsvg {
    fill: #c0c4cc;
}


.tk-submit {
    display: flex;
    flex-direction: column;
}

.tk-row {
    display: flex;
    flex-direction: row;
}

.tk-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tk-row.actions {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 3.5rem;
    align-items: center;
    justify-content: flex-end;
}

.tk-row-actions-start {
    flex: 1;
    display: flex;
    align-items: center;
}

.tk-action-icon {
    align-self: center;
    display: inline-block;
    width: 1.25em;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.tk-action-icon svg:hover {
    opacity: 0.8;
}

.tk-action-icon.__markdown svg {
    fill: #909399;
}

.tk-error-message {
    word-break: break-all;
    color: #ff0000;
    font-size: 0.75em;
    flex-shrink: 1;
}

.tk-avatar {
    margin-right: 1rem;
}

.tk-preview-container {
    margin-left: 3rem;
    margin-bottom: 1rem;
    padding: 5px 15px;
    border: 1px solid rgba(128, 128, 128, 0.31);
    border-radius: 4px;
    word-break: break-word;
}

.tk-action {
    display: flex;
    align-items: center;
}

.tk-action-link {
    margin-left: 0.5rem;
    color: #409eff;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.tk-action-link .tk-action-icon-solid {
    display: none;
}

.tk-action-link.tk-liked .tk-action-icon,
.tk-action-link:hover .tk-action-icon {
    display: none;
}

.tk-action-link.tk-liked .tk-action-icon-solid,
.tk-action-link:hover .tk-action-icon-solid {
    display: block;
}

.tk-action-count {
    margin-left: 0.25rem;
    font-size: 0.75rem;
    height: 1.5rem;
    line-height: 1.5rem;
}

.tk-action-icon {
    display: inline-block;
    height: 1em;
    width: 1em;
    line-height: 0;
}

.tk-action-icon svg {
    fill: #409eff;
}

.tk-main {
    flex: 1;
    width: 0;
}

.tk-row {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tk-avatar {
    margin-right: 1rem;
}

.tk-nick-link {
    color: inherit;
    text-decoration: none;
}

.tk-replies .tk-nick-link {
    font-size: .9em;
}

.tk-nick-link:hover {
    color: #409eff;
}

.tk-actions {
    display: none;
    margin-left: 1em;
}

.tk-comment:hover .tk-actions {
    display: inline;
}

.tk-extras {
    color: #999999;
    font-size: 0.875em;
    display: flex;
    flex-wrap: wrap;
}

.tk-extra {
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
}

.tk-icon {
    height: 1em;
    width: 1em;
    line-height: 1;
}

.tk-extra-text {
    line-height: 1;
}

.tk-icon svg {
    width: 100%;
    fill: currentColor;
}

.tk-tag {
    display: inline-block;
    padding: 0 0.5em;
    font-size: 0.75em;
    background-color: #f2f6fc;
}

.tk-tag-green {
    background-color: rgba(103, 194, 58, 0.13);
    border: 1px solid rgba(103, 194, 58, 0.50);
    border-radius: 2px;
    color: #67c23a;
}

.tk-tag-yellow {
    background-color: rgba(230, 162, 60, 0.13);
    border: 1px solid rgba(230, 162, 60, 0.50);
    border-radius: 2px;
    color: #e6a23c;
}

.tk-tag-blue {
    background-color: rgba(64, 158, 255, 0.13);
    border: 1px solid rgba(64, 158, 255, 0.50);
    border-radius: 2px;
    color: #409eff;
}

.tk-tag-red {
    background-color: rgba(245, 108, 108, 0.13);
    border: 1px solid rgba(245, 108, 108, 0.50);
    border-radius: 2px;
    color: #f56c6c;
}

.tk-comment {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    word-break: break-all;
}

.tk-content {
    margin-top: 0.5rem;
    overflow: auto;
    max-height: 500px;
}

.tk-replies .tk-content {
    font-size: .9em;
}

.tk-comment .vemoji {
    max-height: 2em;
    vertical-align: middle;
}

.tk-replies {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.tk-replies-expand {
    max-height: none;
}

.tk-submit {
    margin-top: 1rem;
}

.tk-expand {
    font-size: 0.75em;
}
.tk-comments-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.tk-comments-count.__hidden {
    visibility: hidden;
}

.tk-comments-container {
    min-height: 10rem;
    display: flex;
    flex-direction: column;
}

.tk-comments-no {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tk-comments-error {
    font-size: 0.75em;
    color: #ff0000;
}

.tk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: sub;
    margin-left: 0.5em;
    height: 0.75em;
    width: 0.75em;
    line-height: 0;
    cursor: pointer;
}

.tk-icon svg {
    width: 100%;
    height: 100%;
    fill: #409eff;
}


.tk-pagination,
.tk-pagination-pagers {
    display: flex;
}

.tk-pagination {
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.tk-pagination-options {
    display: flex;
    align-items: center;
}

.tk-pagination-pager {
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tk-pagination-pager.__current {
    background-color: #409eff;
    pointer-events: none;
}

.tk-pagination .el-input {
    width: 50px;
}

.tk-pagination .el-input .el-input__inner {
    padding: 0;
    height: 28px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.tk-pagination .el-input .el-input__inner::-webkit-inner-spin-button,
.tk-pagination .el-input .el-input__inner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}


.twikoo svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* 全局 CSS */
.tk-expand {
    width: 100%;
    cursor: pointer;
    padding: 0.75em;
    text-align: center;
    transition: all 0.5s;
}

.tk-expand:hover {
    background-color: rgba(0, 0, 0, 0.13);
}

.tk-expand:active {
    background-color: rgba(0, 0, 0, 0.19);
}

.tk-content img {
    max-width: 300px;
    max-height: 300px;
    vertical-align: middle;
}


/* element-ui overwrite */
.twikoo .el-input__inner,
.twikoo .el-textarea__inner {
    color: currentColor;
    background-color: transparent;
    border-color: rgba(144, 147, 153, 0.31);
}

.twikoo .el-input__inner:hover,
.twikoo .el-textarea__inner:hover {
    border-color: rgba(144, 147, 153, 0.50);
}

.twikoo .el-input__inner:focus,
.twikoo .el-textarea__inner:focus {
    border-color: #409eff;
}

.twikoo .el-input-group__append,
.twikoo .el-input-group__prepend {
    color: currentColor;
    background-clip: padding-box;
    background-color: rgba(144, 147, 153, 0.13);
    border-color: rgba(144, 147, 153, 0.31);
}

.twikoo .el-loading-mask {
    background-color: transparent;
    backdrop-filter: opacity(20%);
}

.tk-admin-warn {
    padding: 1rem 1.5rem;
    background-color: #fff7d0;
    border-left: 0.5rem solid #e7c000;
    color: #6b5900;
    align-self: stretch;
}



.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #FFF;
    border: 1px solid #DCDFE6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: .1s;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px
}

.el-button+.el-button {
    margin-left: 10px
}

.el-button:focus,
.el-button:hover {
    color: #409EFF;
    border-color: #c6e2ff;
    background-color: #ecf5ff
}

.el-button:active {
    color: #3a8ee6;
    border-color: #3a8ee6;
    outline: 0
}

.el-button::-moz-focus-inner {
    border: 0
}

.el-button [class*=el-icon-]+span {
    margin-left: 5px
}

.el-button.is-plain:focus,
.el-button.is-plain:hover {
    background: #FFF;
    border-color: #409EFF;
    color: #409EFF
}

.el-button.is-active,
.el-button.is-plain:active {
    color: #3a8ee6;
    border-color: #3a8ee6
}

.el-button.is-plain:active {
    background: #FFF;
    outline: 0
}

.el-button.is-disabled,
.el-button.is-disabled:focus,
.el-button.is-disabled:hover {
    color: #C0C4CC;
    cursor: not-allowed;
    background-image: none;
    background-color: #FFF;
    border-color: #EBEEF5
}

.el-button.is-disabled.el-button--text {
    background-color: transparent
}

.el-button.is-disabled.is-plain,
.el-button.is-disabled.is-plain:focus,
.el-button.is-disabled.is-plain:hover {
    background-color: #FFF;
    border-color: #EBEEF5;
    color: #C0C4CC
}

.el-button.is-loading {
    position: relative;
    pointer-events: none
}

.el-button.is-loading:before {
    pointer-events: none;
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background-color: rgba(255, 255, 255, .35)
}

.el-button.is-round {
    border-radius: 20px;
    padding: 12px 23px
}

.el-button.is-circle {
    border-radius: 50%;
    padding: 12px
}

.el-button--primary {
    color: #FFF;
    background-color: #409EFF;
    border-color: #409EFF
}

.el-button--primary:focus,
.el-button--primary:hover {
    background: #66b1ff;
    border-color: #66b1ff;
    color: #FFF
}

.el-button--primary.is-active,
.el-button--primary:active {
    background: #3a8ee6;
    border-color: #3a8ee6;
    color: #FFF
}

.el-button--primary:active {
    outline: 0
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:active,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:hover {
    color: #FFF;
    background-color: #a0cfff;
    border-color: #a0cfff
}

.el-button--primary.is-plain {
    color: #409EFF;
    background: #ecf5ff;
    border-color: #b3d8ff
}

.el-button--primary.is-plain:focus,
.el-button--primary.is-plain:hover {
    background: #409EFF;
    border-color: #409EFF;
    color: #FFF
}

.el-button--primary.is-plain:active {
    background: #3a8ee6;
    border-color: #3a8ee6;
    color: #FFF;
    outline: 0
}

.el-button--primary.is-plain.is-disabled,
.el-button--primary.is-plain.is-disabled:active,
.el-button--primary.is-plain.is-disabled:focus,
.el-button--primary.is-plain.is-disabled:hover {
    color: #8cc5ff;
    background-color: #ecf5ff;
    border-color: #d9ecff
}

.el-button--small,
.el-button--small.is-round {
    padding: 9px 15px
}

.el-button--small.is-circle {
    padding: 9px
}

.el-button--mini,
.el-button--mini.is-round {
    padding: 7px 15px
}

.el-button--mini.is-circle {
    padding: 7px
}

.el-button--text {
    color: #409EFF;
    background: 0 0;
    padding-left: 0;
    padding-right: 0
}

.el-button--text:focus,
.el-button--text:hover {
    color: #66b1ff;
    border-color: transparent;
    background-color: transparent
}

.el-button--text:active {
    color: #3a8ee6;
    background-color: transparent
}


.el-loading-parent--relative {
    position: relative !important
}

.el-loading-parent--hidden {
    overflow: hidden !important
}

.el-loading-mask {
    position: absolute;
    z-index: 2000;
    background-color: rgba(255, 255, 255, .9);
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s
}

.el-loading-mask.is-fullscreen {
    position: fixed
}

.el-loading-mask.is-fullscreen .el-loading-spinner {
    margin-top: -25px
}

.el-loading-mask.is-fullscreen .el-loading-spinner .circular {
    height: 50px;
    width: 50px
}

.el-loading-spinner {
    top: 50%;
    margin-top: -21px;
    width: 100%;
    text-align: center;
    position: absolute
}

.el-loading-spinner .el-loading-text {
    color: #409EFF;
    margin: 3px 0;
    font-size: 14px
}

.el-loading-spinner .circular {
    height: 42px;
    width: 42px;
    -webkit-animation: loading-rotate 2s linear infinite;
    animation: loading-rotate 2s linear infinite
}

.el-loading-spinner .path {
    -webkit-animation: loading-dash 1.5s ease-in-out infinite;
    animation: loading-dash 1.5s ease-in-out infinite;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 2;
    stroke: #409EFF;
    stroke-linecap: round
}

.el-loading-spinner i {
    color: #409EFF
}

.el-loading-fade-enter,
.el-loading-fade-leave-active {
    opacity: 0
}

@-webkit-keyframes loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-webkit-keyframes loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40px
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -120px
    }
}

@keyframes loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40px
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -120px
    }
}
